{extend name="public/base" /}
{block name="title"}
		<meta charset="UTF-8">
		<title>{$term.name}</title>
{/block}		
{block name="body"}		
		<div class="global_bg" style="background: url(UPLOADS/{$term.tag.bgimg}) no-repeat top center; width: 100%;min-height: 1028px; height: auto;overflow: hidden; position: absolute; top: 100px;">
			<div class="gloabl_con">
				<div class="comn_title">{$term.parent.name}</div>
				<div class="mainbox">
					<div class="conten_nav">
						        <ul>
						           {foreach $term['parent']['child'] as $key => $t}
										<a href="{$t.url}"><li {if isset($term['address'][$t['id']]) }class="active"{/if}><span {if current($t) === end($t)}style="border: none;"{/if}>{$t.name}</span></li></a>	
									{/foreach}
						            
						        </ul>
						      
					</div>
					<div class="case_list">
						<ul>
							{foreach $term['content']['page_page']['limit_9'] as $c}
								<li><a href="{$c.url}">
									<p><img src="UPLOADS/{$c.cover_img}" /></p>
									
									    <p class="tit">{$c.tag.xmname}</p>
										<p class="trt">{$c.tag.xmmingcheng}</p>
										<p class="trt">{$c.tag.xmaddress}</p>
										<p class="trt">{$c.tag.kaifashang}</p>
									</a>
								</li>
							{/foreach}

							
						</ul>
						
					</div>
					<div class="page">
						<ul>
							{Wh:page count="$term['content']['limit_9']['pageCount']"}
								{if ($p.type == 'last')}
									<a  href="{$p.url}"><li>上一页</li></a>
								{elseif ($p.type == 'next')}
									<a  href="{$p.url}"><li>下一页</li></a>
								{else /}		
									<a  href="{$p.url}"><li {if ($p.in)} class="on" {/if} >{$p.text}</li></a>
								{/if}	
							{/Wh:page}
						</ul>
					</div>
				</div>
			</div>
			
{/block}			